package test.api.dubbo;

import java.util.Map;

/**
 * @Author wangshaopeng
 * @Date 2020/10/27
 */
public class DubboHelloServiceStub implements DubboHelloService{
    private final DubboHelloService dubboHelloService;
    public DubboHelloServiceStub(DubboHelloService dubboHelloService) {
        this.dubboHelloService = dubboHelloService;
    }

    @Override
    public String hello(String name) throws Exception {
        System.out.println("执行1");
        return dubboHelloService.hello(name+"11");
    }

    @Override
    public Map se() {
        System.out.println("执行");
        return dubboHelloService.se();
    }
}
